MailPoet\Cron\Workers\SendingQueue\Tasks\Newsletter S

Total Complexity 45
Dependencies 29
Dependents 2
Total lines 337
Lines of code 221
Logical lines of code 110
Comment lines 57
Methods 8
Properties 15

Methods 8

Method Rating Maintainability Complexity Lines of code
preProcessNewsletter()
B
37 14 81
getNewsletterFromQueue()
A
52 10 24
calculateCampaignId()
S
54 6 21
__construct()
S
50 5 29
recoverFromInvalidState()
S
60 4 14
prepareNewsletterForSending()
S
50 2 34
markNewsletterAsSent()
S
63 3 11
stopNewsletterPreProcessing()
S
70 1 7